/*
* Copyright 2009 NOR_/D Labs <http://labs.nortd.com>
*
* This file is part of SceneExpression.
* SceneExpression is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License 
* as published by the Free Software Foundation, either version 3 of 
* the License, or (at your option) any later version. For details
* see <http://www.gnu.org/licenses/>.
*
* * *
* This is the main include file. Include this and you are ready
* to use SceneExpression.
*/

#ifndef SX_MAIN
#define SX_MAIN


#include <osgDB/ReadFile>


#include "sxConstants.h"
#include "sxTypes.h"
#include "sxScene.h"

#include "sxNode.h"
#include "sxModel.h"

#include "sxShape.h"
#include "sxTextShape.h"

#include "sxWidget.h"
#include "sxPanelWidget.h"
#include "sxButtonWidget.h"
#include "sxSliderWidget.h"
#include "sxCheckboxWidget.h"


// include the plugins we need
USE_OSGPLUGIN(freetype);


#if defined( TARGET_OSX )
USE_OSGPLUGIN(quicktime);
USE_OSGPLUGIN(bmp);
USE_OSGPLUGIN(osg);
USE_OSGPLUGIN(obj);
USE_OSGPLUGIN(3ds);
USE_OSGPLUGIN(dxf);
USE_OSGPLUGIN(stl);
#elif defined( TARGET_LINUX )
USE_OSGPLUGIN(png);
USE_OSGPLUGIN(jpeg);
USE_OSGPLUGIN(bmp);
USE_OSGPLUGIN(osg);
USE_OSGPLUGIN(obj);
USE_OSGPLUGIN(3ds);
USE_OSGPLUGIN(dxf);
USE_OSGPLUGIN(stl);
#elif defined( TARGET_WIN32 )
USE_OSGPLUGIN(png);
USE_OSGPLUGIN(jpeg);
USE_OSGPLUGIN(bmp);
USE_OSGPLUGIN(osg);
USE_OSGPLUGIN(obj);
USE_OSGPLUGIN(3ds);
USE_OSGPLUGIN(dxf);
USE_OSGPLUGIN(stl);
#endif


// include the platform specific GraphicsWindow implementation.
USE_GRAPHICSWINDOW();

#endif